package com.xiaoyi.springboot.enums;

import com.xiaoyi.springboot.enums.service.EnumService;

/**
 * @author xiaoyi
 * @version 1.0.0
 * @createTime 2021-10-09 22:14:00
 */
public enum UserType {
    ADMINUSER("adminuser","管理用户"),
    COMMONUSER("commonuser","普通用户");


    private String value;
    private String desc;

    UserType(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
